package com.choosefine.it;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;



@ImportResource(value = "config/spring-mybatis.xml")
@SpringBootApplication
@EnableTransactionManagement // 启动事务
@EnableScheduling // 启动任务
public class Application {
 
	public static void main(String[] args) {
		SpringApplication.run(Application.class,args); // 启动
	}
}
